import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import router from '@/router/index'
import { key, store } from '@/store'

import App from './App.vue'
import styleImport from '@/utils/style-import'
import '@/style/basic.styl'
import 'element-plus/dist/index.css'
// lang i18n
const app = createApp(App)
app.use(ElementPlus, { size: 'mini', locale: zhCn })
styleImport(app).use(router).use(store, key).mount('#app')
